#include "plist.h"
void text()
{
	SListNode* plist = BuySListNode(1);
	SListNode* node1 = BuySListNode(1);
	SListNode* node2 = BuySListNode(2);
	SListNode* node3 = BuySListNode(3);
	SListNode* node4 = BuySListNode(4);

	plist = node1;
	node1->next = node2;
	node2->next = node3;
	node3->next = node4;

	/*SListPushBack(&plist, 5);
	SListPushFront(&plist, 0);
	SListPopBack(&plist);
	SListPopFront(&plist);
	SListInsertAfter(node4,5);
	SListInsertFront(plist,node4,5);
	SListErase(&plist, node1);
	SListErase(&plist,node2);*/
	/*SListPrint(plist);*/
	/*SListNode* FindNode = SListFind(plist, 3);
	printf("%d", (*FindNode).data);*/
}
void test2()
{
	SListNode* plist = BuySListNode(1);
	SListNode* node1 = BuySListNode(1);
	SListNode* node2 = BuySListNode(2);
	SListNode* node3 = BuySListNode(3);
	SListNode* node4 = BuySListNode(4);
	plist = node1;
	node1->next = node2;
	node2->next = node3;
	node3->next = node4;
	void SListDestory(plist);
}
int main()
{
	/*test();*/
	/*teas2();*/
	return 0;
}